# Settings specified here will take precedence over those in config/environment.rb

# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true

# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching             = true
config.action_view.cache_template_loading = true
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host                  = "http://assets.example.com"

# Disable delivery errors, bad email addresses will be ignored
# Disable delivery errors, bad email addresses will be ignored
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_charset = "utf-8"
config.action_mailer.delivery_method = :smtp 
config.action_mailer.smtp_settings = { 
        :address => "node.diaspora.com.ua", 
        :port => 26, 
        :domain => "node.diaspora.com.ua",
        :authentication => :login,
        :user_name => "info@diaspora.com.ua", 
        :password => ";ehyfk"
        } 


config.action_controller.cache_store = :file_store, RAILS_ROOT + "/tmp/cache/"
config.cache_store = :mem_cache_store

config.action_controller.session.update(:session_domain => '.diaspora.com.ua')
